When does the Debug callback fire?
void clbkSetDebugging_(string NameFile, int LineNumber)
{ print "\tclbkSetDebugging_ line " LineNumber " \tin file [" NameFile "]\n"
}
setDebugCallback_(clbkSetDebugging_)
setDebugging_(true)
Buffer buf = create()
buf = "1"
int i
string s = "A"
for (i=0; i<10; i++)
{ buf += s
s = s s
}
clbkSetDebugging_("WTH, calling the callback directly to see what happens", -1)
delete(buf)
setDebugging_(false)
llandale - Mon Aug 06 07:15:47 EDT 2012 |
Re: setDebugging_ You are right, this debugging callback seems to be very useless for normal DXL programmers. However imagine the debugging callback will start communicating with an external debugger GUI - combined with the ability to get information about DOORS internals, like DXL contexts, stack, etc. IBM could use that for their own debugger. Since DOORS 9.3 interesting new perms are appearing, like: void ::do (DebugVar&, Script__, void) Which hints additionally that IBM is improving the DXL Debugging capabilities. Maybe that helps, regards, Mathias Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |
Re: setDebugging_ Mathias Mamsch - Mon Aug 06 07:50:41 EDT 2012 Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS |